/*
 * Copyright (c) chb my copyright message. 2022-2023. All rights reserved.
 *
 */
import request from '../utils/request'

//获取用户详情
export function getUserDetail(uid) {
  return request({
    url: 'user/detail?uid=' + uid,
    method: 'get'
  })
}

// 获取账号信息
export function getUserAccount() {
  return request({
    url: 'user/account',
    method: "get"
  })
}

// 获取用户信息 , 歌单，收藏，mv, dj 数量
export function getUserSubcount() {
  return request({
    url: 'user/subcount',
    method: 'get'
  })
}

// 获取用户歌单
export function getUserPlaylist(uid) {
  return request({
    url: 'user/playlist?uid=' + uid,
    method: 'get'
  })
}


// 获取用户历史评论
export function getUserCommentHistory(uid) {
  return request({
    url: 'user/comment/history?uid=' + uid,
    method: 'get'
  })
}
